serial: push default_serial_console to drivers
authorMike Frysinger <[email protected]>
Fri, 29 Apr 2011 18:03:29 +0000 (18:03 +0000)
committerWolfgang Denk <[email protected]>
Tue, 26 Jul 2011 14:37:57 +0000 (16:37 +0200)
commit6c768ca746c341dd6acbb8b39f48acb48e964d83
tree1c20bed09fe9e70e525a2761d660301947f07dae
parent6262e4e74e2cdb9f231dc71c9893d4a4bd1e88df
serial: push default_serial_console to drivers

Rather than sticking arch/board/driver specific logic in the common
serial code, push it all out to the respective drivers.  The serial
drivers declare these funcs weak so that boards can still override
things with their own definition.

Signed-off-by: Mike Frysinger <[email protected]>
CC: Heiko Schocher <[email protected]>
CC: Anatolij Gustschin <[email protected]>
CC: Tom Rix <[email protected]>
CC: Minkyu Kang <[email protected]>
CC: Craig Nauman <[email protected]>
CC: Prafulla Wadaskar <[email protected]>
CC: Mahavir Jain <[email protected]>
Tested-by: Minkyu Kang <[email protected]>
arch/powerpc/cpu/mpc512x/serial.c
arch/powerpc/cpu/mpc5xxx/serial.c
arch/powerpc/cpu/mpc8xx/serial.c
board/logicpd/zoom2/zoom2_serial.c
common/serial.c
drivers/serial/serial.c
drivers/serial/serial_s3c24x0.c
drivers/serial/serial_s5p.c